package cn.wolfcoe.luowowo.common.util;

import cn.wolfcoe.luowowo.common.exception.LogicException;

public abstract class UserInfoCheck {
    public static void hasLength(String str, String msg) {
        if (str == null || "".equals( str.trim() )) {
            throw new LogicException( msg );
        }
    }
}
